
package com.hah;


import org.apache.commons.lang3.StringUtils;

public class StrDemo {
    public static void main(String[] args) {
        String str1 = " ";
        String str2 = "";
        String str3 = null;
        String str4 = "null1";
       if (StringUtils.isBlank(str4)){
           System.out.println("aaaa");
       }else {
           System.out.println("不为空！！！！");
       }
    }
}
